<!DOCTYPE html>
<html>
{include file="public/head" /}
<body>
<div class="box-body">
        <form id="myform" class="myform form-horizontal"  method="post">
        <input type="hidden" name="member_id" value="{$info['member_id']|default=''}">
          <div class="row">
            <div class="col-md-12">
               <div class="input-group margin">
                <div class="input-group-btn">
                <span class="btn btn-default form-left-btn">管理组：</span>
                </div>
                <!-- /btn-group -->
                <select name="member_groupid" class="form-control select2" style="width:100%">
		{volist name="group" id="item"}
<option value="{$item['id']}" {if isset($info.member_groupid) && $item[ 'id']==$info.member_groupid}selected{/if}>
                        {$item['title']}
                        </option>
		{/volist}
                </select>
              </div>
               <div class="input-group margin">
                <div class="input-group-btn">
                <span class="btn btn-default form-left-btn">用户名：</span>
                </div>
                <!-- /btn-group -->
                <input type="text" class="form-control" name="member_name" value="{$info.member_name|default=''}"  autocomplete="off"  required="required" placeholder="用户名必填">
              </div>              
               <div class="input-group margin">
                <div class="input-group-btn">
                <span class="btn btn-default form-left-btn">昵称：</span>
                </div>
                <!-- /btn-group -->
                <input type="text" class="form-control" name="member_nickname" value="{$info.member_nickname|default=''}"  autocomplete="off" >
              </div> 
               <div class="input-group margin">
                <div class="input-group-btn">
                <span class="btn btn-default form-left-btn">头像：</span>
                </div>
                <!-- /btn-group -->
                <input id="c-image" class="form-control" size="50" name="member_pic" type="text" value="{$info['member_pic']|default=''}">
<span class="input-group-btn">
                      <button type="button" class="btn btn-primary btn-flat plupload" id="plupload-image" data-input-id="c-image" data-mimetype="*"  data-multiple="false" data-preview-id="p-image" data-multipart='{"sid":"member","thumb":"1"}'><i class="fa fa-upload"></i> 上传</button>
                    </span>
              </div>
               <div class="input-group margin">
                <div class="input-group-btn">
                <span class="btn btn-default form-left-btn">密码：</span>
                </div>
                <!-- /btn-group -->
               <input type="password" class="form-control" name="member_password" value="" autocomplete="false" >
              </div>
               <div class="input-group margin">
                <div class="input-group-btn">
                <span class="btn btn-default form-left-btn">确认密码：</span>
                </div>
                <!-- /btn-group -->
               <input type="password" class="form-control" name="member_repassword" value="" autocomplete="false" >
              </div>
               <div class="input-group margin">
                <div class="input-group-btn">
                <span class="btn btn-default form-left-btn">Email：</span>
                </div>
                <!-- /btn-group -->
               <input type="email" class="form-control" name="member_email" value="{$info.member_email|default=''}" autocomplete="false" autocomplete="off"  required="required" placeholder="邮箱必填,可作为登录帐号">
              </div>
                                                                                              
               <div class="input-group margin">
                <div class="input-group-btn">
                <span class="btn btn-default form-left-btn">用户状态：</span>
                </div>
                <!-- /btn-group -->
                <select name="member_status" class="form-control select2 select2-hidden-accessible" style="width: 100%;" tabindex="-1" aria-hidden="true">
          <option value="1">启用</option>
          <option value="0" {eq name="info.member_status" value="0" }selected{/eq}>禁用</option>
                </select>
              </div>   
              
                                                                     
            </div>          
          </div>
          <!-- /.row -->
        <div class="box-footer {notempty name=":request()->param('dialog')"}hidden{/notempty} layer-footer">
          <div  class="footer-btn">
               <button type="submit" class="btn btn-success btn-embossed">确定</button>
               <button type="reset" class="btn btn-default btn-embossed">重置</button>
               {notempty name=":request()->param('dialog')"}
               <button type="reset" class="btn btn-primary btn-embossed btn-close" onClick="layer.closeAll();"> 关闭</button>
               {/notempty}
            </div>
       </div>
       <!-- /.box-footer -->     
</form>
</div>

{include file="public/footer" /}
<!-- /.box-body -->    
<script type="text/javascript">
$(document).ready(function(){
	zanpian.cms.config();	
	
});	
</script>	
</body>
</html>
